// 本地的token的存储
const tokenName = 'HM_token'

export const setToken = function (token) {
  localStorage.setItem(tokenName, token)
}

export const getToken = function () {
  return localStorage.getItem(tokenName)
}

export const deleteToken = function () {
  localStorage.removeItem(tokenName)
}
